find missing sides of a right triangle